<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pais_model extends CI_Model {
  function __construct(){
  	parent::__construct();
  	$this->load->database();
  }
  public function getAllPaises(){
  	$query = $this->db->get('pais');
  	return $query->result();
  }
}
?>
